package com.tdcoding.chat.entities;

import io.protostuff.Tag;

public class LocationInfo extends BaseInfo {
	private static final long serialVersionUID = 1L;
	@Tag(value=7)
	private String address;//详细地址
	@Tag(value=8)
	private String preview;//预览图片链接
	@Tag(value=9)
	private double  radius;	//半径
	@Tag(value=10)
	private double  latitude ;//纬度
	@Tag(value=11)
	private double  longitude;//经度
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPreview() {
		return preview;
	}
	public void setPreview(String preview) {
		this.preview = preview;
	}
	public double getRadius() {
		return radius;
	}
	public void setRadius(double radius) {
		this.radius = radius;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	@Override
	public String toString() {
		return "LocationInfo [address=" + address + ", preview=" + preview + ", radius=" + radius + ", latitude="
				+ latitude + ", longitude=" + longitude + "]";
	}
}